package com.lanou3g.ptp.api.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("教师")
public class Teacher {
    @ApiModelProperty("ID（添加不传）")
    private Long id;
    private User user;
    @ApiModelProperty("性别（0为男，1为女）")
    private Integer gender;
    @ApiModelProperty("头像")
    private String head;
    @ApiModelProperty("类型（0为本校，1为校外）")
    private Integer type;
    @ApiModelProperty("学校ID（本校教师有）")
    private Long schoolId;
    @ApiModelProperty("基地ID（校外教师有）")
    private Long baseId;
    @ApiModelProperty("学院ID（本校教师有）")
    private Long collegeId;
    @ApiModelProperty("教研室")
    private String teachSection;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("修改时间")
    private Date updateTime;
    @ApiModelProperty("状态")
    private Integer status;

}
